<style type="text/css">
    .form-error
    {
        color: #BB0000;
    }
</style>
<div style="margin-left:20px;margin-top: 10px;">
    <?php echo form_open('account/register') ?>
        <div>
            <div><h5>用户名</h5></div>
            <div><input type="text" name="username" value="<?php echo set_value('username') ?>" size="35" /></div>
            <div class="form-error"><?php echo form_error('username'); ?></div>
        </div>
        <div>
            <div><h5>密码</h5></div>
            <div><input type="password" name="password" value="<?php echo set_value('password') ?>" size="35" /></div>
            <div class="form-error"><?php echo form_error('password'); ?></div>
        </div>
        <div>
            <div><h5>重复密码</h5></div>
            <div><input type="password" name="passconf" value="<?php echo set_value('passconf') ?>" size="35" /></div>
            <div class="form-error"><?php echo form_error('passconf'); ?></div>
        </div>
        <div>
            <div><h5>E-Mail</h5></div>
            <div><input type="text" name="email" value="<?php echo set_value('email') ?>" size="35" /></div>
            <div class="form-error"><?php echo form_error('email'); ?></div>
        </div>
        <div><input type="submit" value="提交" style="margin-top: 15px;width: 120px;height: 35px;" /></div>
    </form> 
</div>


